package com.ph.irp.stock.service;

import java.io.Serializable;
import java.util.List;

import com.ph.irp.dto.StockInStorageDTO;
import com.ph.irp.dto.StockInStorageDetailDTO;
import com.ph.irp.model.PStockInStorage;
import com.ph.irp.model.PStockInStorageDetail;

public interface StockInStorageService extends Serializable{
	
	public void addStockInStorage(PStockInStorage stockInStorage) throws Throwable;
	public void addStockInStorageDetail(PStockInStorageDetail stockInStorageDetail) throws Throwable;
	public void deleteStockInStorage(String stockInStorageId) throws Throwable;
	public int getStockInStorageIdByCode(String stockInStorageCode) throws Throwable;
	public StockInStorageDTO getStockInStorageById(int stockInStorageId) throws Throwable;
	public List<StockInStorageDTO> getAllStockInStorages() throws Throwable;
	public List<StockInStorageDTO> getStockInStorages(PStockInStorage stockInStorage, String beginDate, String endDate) throws Throwable;
	public List<StockInStorageDetailDTO> getStockInStorageDetailsByInStorageId(int stockInStorageId) throws Throwable;

}
